package com.gupao.demo.annotation.scope;import com.gupao.project.entity.Person;import org.junit.Test;import org.springframework.context.ApplicationContext;import org.springframework.context.annotation.AnnotationConfigApplicationContext;public class MyTest {    @Test    public void test(){        ApplicationContext app = new AnnotationConfigApplicationContext(MyConfig.class);        Object person = app.getBean("person2");        Person person1 = app.getBean(Person.class);        /**         * //默认是单例，这是true         * 加了@Scope(value = "prototype")，那就是false   很基础的东西         */        System.out.println(person == person1);    }}